package com.meiqiang.muxinnetty.utils;

/**
 * description
 *
 * @author shihuaguo
 * @date 2019/12/24
 **/
public class OsUtil {

    public static boolean isWindows(){
        String osname =  osname();
        return osname.contains("Win") || osname.contains("win");
    }

    public static String osname(){
        return System.getProperty("os.name");
    }
}
